package me.liuyu.ymall.mall.admin.resource;

import me.liuyu.ymall.mall.admin.service.MallAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

/**
 * @Author liuyu E-mail: liuyu2783@163.com
 * @Date 2018/5/25 10:40
 * @Descrption
 * @Modified By
 */
@RestController
@RequestMapping
public class MallAdminApi {

    @Autowired
    private MallAdminService mallAdminService;

    @RequestMapping(value = "/hello")
    public HashMap hello() {
        return mallAdminService.mallAdminServiceHello();
    }
}
